package wlxldh357.OOP;

import java.util.Scanner;

public class J31_FanVO {

	
	
	class FanVO {
		static final int SLOW = 1;
		static final int MEDIUM = 2;
		static final int FAST = 3;
		int speed;
		boolean on;
		float radius;
		String color;

		public FanVO() {
			speed = this.SLOW;
			on = false;
			radius = 5.0F;
			color = "blue";
		}

		public FanVO(int speed, boolean on, float radius, String color) {
			this.speed = speed;
			this.on = on;
			this.radius = radius;
			this.color = color;
		}

		public int getSpeed() {
			return speed;
		}

		public void setSpeed(int speed) {
			this.speed = speed;
		}

		public boolean isOn() {
			return on;
		}

		public void setOn(boolean on) {
			this.on = on;
		}

		public float getRadius() {
			return radius;
		}

		public void setRadius(float radius) {
			this.radius = radius;
		}

		public String getColor() {
			return color;
		}

		public void setColor(String color) {
			this.color = color;
		}
	}
}